package com.nzw.common;



/**
 * Created by yinwx on 2018/2/6.
 * 公共的静态常量
 *
 */
public class Constant {


    /** 公共配置 **/
    public final static boolean TEST=true;//测试环境下

//    public final  static String SERVER_URL="http://wx.geng-sun.com/";//服务器地址
//    public static final String USER_AUTH_CALL_BACK="http://wx.geng-sun.com/wx/userAuthCallBack";//用户授权回调页面
//    public static final String WX_PAY_CALL_BACK="http://wx.geng-sun.com/pay/payCallBack";//支付结果回调

    public static final String KEY="8fAOzOJzjfsyjWCnmSwj6vw325SUtymZ";


    public final  static String SERVER_URL="http:/wx.nanningjunda.com/";
    public static final String WX_PAY_CALL_BACK="http://wx.nanningjunda.com/pay/payCallBack";//支付结果回调
    public static final String USER_AUTH_CALL_BACK="http://wx.nanningjunda.com/wx/userAuthCallBack";//用户授权回调页面


    //public static String GS_URL = "http://112.74.97.234:36189/datasnap/rest/tservermethods1/WXUniformInterface/";

    /** 阿里云OSS相关 **/
    public final static String OSS_ENDPOINT="http://oss-cn-shenzhen.aliyuncs.com";
    public final static String OSS_BUCKETNAME="yinwx";
    public final static String OSS_IMGENDPOINT="http://"+OSS_BUCKETNAME+".oss-cn-shenzhen.aliyuncs.com/";
    public final static String IMG_UPLOAD_TEMP_PATH="temp";

    /** 文件目录相关 **/
    public final static String IMAGE_PATH_HEAD="head";//头像相关的图片
    public final static String IMAGE_PATH_COMMON="img";//公用的图片目录
    public final static String IMAGE_PATH_PRODUCT="product";//商品的图片目录

    /** CDN前缀 441**/
    //public final static String IMG_CDN_PREFIX="http://img.mefelive.com/";
    public final static String IMG_CDN_PREFIX=OSS_IMGENDPOINT;

    public final static String RESULTS_PAGE="result_page";

    /** 登录相关 **/
    public final static int WX_LOGIN=2;//单点登录-微信


    /** 微信相关 **/

    public static final String ACCESSTOKEN="access_token";//第三方平台的access_token
    public static final String JSAPI_TICKET_CACHE="js_ticket";//JSSDK的ticket


    public static final String WX_ORDER="https://api.mch.weixin.qq.com";//微信支付下订单的域名

    /** 快递鸟 **/
    public static final String KD_BIRD_URL="http://testapi.kdniao.cc:8081/api/dist";//测试接口地址
    //public static final String KD_BIRD_URL="http://api.kdniao.cc/api/dist ";//正式接口地址




}
